
public class BoardSingletone {

	private static BoardSingletone instance;
	private Board board;
	
	private BoardSingletone(Board board){
		this.board = board;
	}
	
	public static void createInstance(Board board){
		instance = new BoardSingletone(board);
	}
	
	public static BoardSingletone getInstance(){
		return instance;
	}
	
	public Board getBoard(){
		return board;
	}
}
